#include<stdlib.h>
#include<stdio.h>
#include<string.h>
int Cmp(const char** p1,const char** p2) {
    return (int)strcmp(*p1, *p2);
}
int main()
{
    char* list1[] = { "Shogun","Tapioca Express", "Burger King", "KFC" };
    char* list2[] = { "Piatti", "The Grill at Torrey Pines", "Hungry Hunter Steakhouse", "Shogun" };
    int list1Size, list2Size;
    list1Size = sizeof(list1) / sizeof(list1[0]);
    list2Size = sizeof(list2) / sizeof(list1[1]);
    qsort(list1, list1Size, sizeof(char*), Cmp);
    qsort(list2, list2Size, sizeof(char*), Cmp);
    for (int i = 0; i < list1Size; i++)
        printf("%s\n", list1[i]);
}
